package com.shxc.smarttrade.old.bean;

/**
 * Created by jcdev1 on 2017/10/9.
 */

public class AccountInfo extends ErrorStatus {


    /**
     * data : {"margin":20,"totalProfit":-2.2,"balance":19997.83,"balanceNotIncludeCredit":19997.83,"credit":0,"marginFree":19975.63,"equity":19995.63,"accStatus":2,"marginLevel":99978.15}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * margin : 20.0
         * totalProfit : -2.2
         * balance : 19997.83
         * balanceNotIncludeCredit : 19997.83
         * credit : 0.0
         * marginFree : 19975.63
         * equity : 19995.63
         * accStatus : 2
         * marginLevel : 99978.15
         */

        private double margin;
        private double totalProfit;
        private double balance;
        private double balanceNotIncludeCredit;
        private double credit;
        private double marginFree;
        private double equity;
        private int accStatus;
        private double marginLevel;
        private double countProfitRate;
        private int accType;
        private String mt4Id;

        public int getAccType() {
            return accType;
        }

        public void setAccType(int accType) {
            this.accType = accType;
        }

        public String getMt4Id() {
            return mt4Id;
        }

        public void setMt4Id(String mt4Id) {
            this.mt4Id = mt4Id;
        }

        public double getCountProfitRate() {
            return countProfitRate;
        }

        public void setCountProfitRate(double countProfitRate) {
            this.countProfitRate = countProfitRate;
        }

        public double getMargin() {
            return margin;
        }

        public void setMargin(double margin) {
            this.margin = margin;
        }

        public double getTotalProfit() {
            return totalProfit;
        }

        public void setTotalProfit(double totalProfit) {
            this.totalProfit = totalProfit;
        }

        public double getBalance() {
            return balance;
        }

        public void setBalance(double balance) {
            this.balance = balance;
        }

        public double getBalanceNotIncludeCredit() {
            return balanceNotIncludeCredit;
        }

        public void setBalanceNotIncludeCredit(double balanceNotIncludeCredit) {
            this.balanceNotIncludeCredit = balanceNotIncludeCredit;
        }

        public double getCredit() {
            return credit;
        }

        public void setCredit(double credit) {
            this.credit = credit;
        }

        public double getMarginFree() {
            return marginFree;
        }

        public void setMarginFree(double marginFree) {
            this.marginFree = marginFree;
        }

        public double getEquity() {
            return equity;
        }

        public void setEquity(double equity) {
            this.equity = equity;
        }

        public int getAccStatus() {
            return accStatus;
        }

        public void setAccStatus(int accStatus) {
            this.accStatus = accStatus;
        }

        public double getMarginLevel() {
            return marginLevel;
        }

        public void setMarginLevel(double marginLevel) {
            this.marginLevel = marginLevel;
        }
    }
}
